package edu.luc.etl.xml;

public class FeedItem {
	 	private String _title = null;
	    private String _link = null;
		private String _category = null;
		private String _pubdate = null;
		private String _description = null;
		private String _podcast=null;
		

	    
	    FeedItem()
	    {
	    }
	    void setTitle(String title)
	    {
	        _title = title;
	    }
	    void setLink(String link)
	    {
	        _link = link;
	    }
	    String getTitle()
	    {
	        return _title;
	    }
	    String getLink()
	    {
	        return _link;
	    }
	    @Override
		public String toString()
	    {
	        // limit how much text you display
	        if (_title.length() > 42)
	        {
	            return _title.substring(0, 42) + "...";
	        }
	        return _title;
	    }
		public void set_pubdate(String _pubdate) {
			this._pubdate = _pubdate;
		}
		public String get_pubdate() {
			return _pubdate;
		}
		public void set_category(String _category) {
			this._category = _category;
		}
		public String get_category() {
			return _category;
		}
		public void set_description(String _description) {
			this._description = _description;
		}
		public String get_description() {
			return _description;
		}
		public void setPodcast(String _podcast) {
			this._podcast = _podcast;
		}
		public String getPodcast() {
			return _podcast;
		}

	}
